import { Directive, HostBinding, Input } from '@angular/core';

@Directive({
  selector: '[appImageAvatar]',
})
export class ImageAvatarDirective {
  @Input()
  @HostBinding('style.width')
  @HostBinding('style.height')
  avatarSize: string = '1.5rem';
  @HostBinding('style.border-radius')
  radius = '50%';
  @HostBinding('style.object-fit')
  fitMode = 'cover';
  constructor() {}
}
